package com.beidu.lottery.call.entity.form;

import com.beidu.lottery.call.entity.ActivityLotteryPrize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.validation.annotation.Validated;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 活动页面元素保存表单
 * </p>
 *
 * @author 北渡
 * @since 2023-08-09
 */
@Data
@Builder
@ApiModel(value = "InfoSaveStep3Form", description = "活动页面元素保存表单")
@Accessors(chain = true)
@Validated
@AllArgsConstructor
@NoArgsConstructor
public class InfoSaveStep3Form implements Serializable {

    @ApiModelProperty(value = "活动ID")
    private Integer activityId;

    @ApiModelProperty(value = "活动页面布置JSON-报名、投票活动通用")
    private String formData;

    @ApiModelProperty(value = "保存类型(0:保存草稿、1:发布、2:存模)")
    private Integer saveType;

    @ApiModelProperty(value = "抽奖活动奖品集合")
    private List<ActivityLotteryPrize> prizeList;


}
